package top.shen33.yang.base.eventListener;

import com.google.common.eventbus.Subscribe;
import org.springframework.stereotype.Component;

@Component
public class StringEventListener implements EventListener {


    @Subscribe
    public void listener(String data){
        System.out.println("receive msg: "+data);
    }
}
